package com.wangp.safeCommit.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.swing.*;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Record<T> {

    private Long size;

    private Integer total;

    private  Integer current;

    private List<SortOrder> orders;

    private List<T> records;

}